#include <REGX52.H>
#include "LCD1602.H"
#include "Delay.H"


int a,b=0;
void main()
{
	LCD_Init();
	a = 1+1;
	LCD_ShowChar(1,1,'A');
	LCD_ShowString(1,3,"Hello word");
	LCD_ShowNum(2,1,a,2);///

	while(1)
	{
		b++;
		Delay(1000);//1s更新一次
		LCD_ShowNum(2,4,b,1);
	
	}
}